package com.example.feignservicea.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("用户实体类")
public class UserDto {

    @ApiModelProperty("性别")
    public String sex;

    @ApiModelProperty(value ="用户名",allowableValues = "11,12")
    public String name;

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}